//
//  TextTableViewController.m
//  MeJieMian
//
//  Created by a on 16/9/10.
//  Copyright © 2016年 HM. All rights reserved.
//

#import "TextTableViewController.h"

@interface TextTableViewController ()<UITextFieldDelegate>
//姓名
@property (weak, nonatomic) IBOutlet UITextField *nameTextField;

//年龄
@property (weak, nonatomic) IBOutlet UITextField *ageTextField;
//住址
@property (weak, nonatomic) IBOutlet UITextField *addressTextField;
@property (weak, nonatomic) IBOutlet UITextField *identificationNumberTextField;
@property (weak, nonatomic) IBOutlet UITextField *phoneNumBerTextField;
@property (weak, nonatomic) IBOutlet UITextField *idNumTextField;

@end

@implementation TextTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.title  = @"实名资料";

    
    UITapGestureRecognizer *tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapAction:)];
    
    [self.tableView addGestureRecognizer:tapRecognizer];
    
}
- (IBAction)commitClick:(id)sender {
    
    
    [self.navigationController popViewControllerAnimated:YES];
    
    
}

- (void)tapAction:(UITapGestureRecognizer *)recognizer
{
    [self.nameTextField resignFirstResponder];
    [self.ageTextField resignFirstResponder];
    [self.addressTextField resignFirstResponder];
    [self.phoneNumBerTextField resignFirstResponder];
    [self.idNumTextField resignFirstResponder];
    
    
}



- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    
//    NSLog(@"%zd",indexPath.row);
    
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
